package com.hospital.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Equipment {

    @ExcelIgnore
    private Integer id;

    private String name;
    /**
     * 仪器价格
     */

    private Double price;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")

    @ExcelIgnore
    private Date ctime;
    /**
     * 仪器功能
     */

    private String effect;
    /**
     * 仪器生产地
     */

    private String place;
    /**
     * 仪器维护状况
     */

    private String ondition;


    @ExcelIgnore
    private String logourl;

}
